import {PluginCommand} from "./PluginCommand";

class SectionAttributeCommand extends PluginCommand{
  constructor() {
    super();
  }

  computeSectionAttributeInfo(attributeParams, cb){
    if(this.toolQuery){
      this.toolQuery.computeSectionAttributeInfo(attributeParams).then(res =>{
        cb(res.data);
      })
    }
  }
}

const sectionAttributeCommand = new SectionAttributeCommand();
export {sectionAttributeCommand};
